home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-07-20 | 4.6 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: ICGlobals.p
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| ZX81 Sinclair BASIC (image/sinclairBASIC)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Applause Picture (image/applausePicture)
| ext
| Unsupported |
1%
| dexvert
| bsdiff patch (other/bsdiffPatch)
| ext
| Unsupported |
1%
| dexvert
| imgdiff patch (other/imgdiffPatch)
| ext
| Unsupported |
1%
| dexvert
| MATLAB p-code (other/matlabPCode)
| ext
| Unsupported |
1%
| dexvert
| WSUS Patch Storage File (other/wsusPatchStorageFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sat Jul 20 15:52:22 1996, modified Sat Jul 20 15:52:22 1996, creator 'CWIE', type ASCII, 4018 bytes "ICGlobals.p" , at 0x1032 410 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 49 43 47 6c 6f 62 | 61 6c 73 2e 70 00 00 00 |..ICGlob|als.p...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0f b2 00 | 00 01 9a ae 16 e9 76 ae |........|......v.|
|00000060| 16 e9 76 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..v.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cd b4 00 00 |........|........|
|00000080| 75 6e 69 74 20 49 43 47 | 6c 6f 62 61 6c 73 3b 0d |unit ICG|lobals;.|
|00000090| 0d 69 6e 74 65 72 66 61 | 63 65 0d 0d 09 75 73 65 |.interfa|ce...use|
|000000a0| 73 0d 09 09 49 43 54 79 | 70 65 73 2c 20 46 69 6c |s...ICTy|pes, Fil|
|000000b0| 65 73 2c 20 45 76 65 6e | 74 73 3b 0d 0d 09 63 6f |es, Even|ts;...co|
|000000c0| 6e 73 74 0d 09 09 4d 5f | 46 69 6c 65 20 3d 20 31 |nst...M_|File = 1|
|000000d0| 32 39 3b 0d 09 09 4d 5f | 45 64 69 74 20 3d 20 31 |29;...M_|Edit = 1|
|000000e0| 33 30 3b 0d 09 09 4d 5f | 49 6e 73 74 61 6c 6c 20 |30;...M_|Install |
|000000f0| 3d 20 31 33 31 3b 0d 09 | 09 4d 5f 57 69 6e 64 6f |= 131;..|.M_Windo|
|00000100| 77 73 20 3d 20 31 33 32 | 3b 0d 0d 09 63 6f 6e 73 |ws = 132|;...cons|
|00000110| 74 0d 09 09 45 4d 5f 55 | 6e 64 6f 20 3d 20 31 3b |t...EM_U|ndo = 1;|
|00000120| 0d 09 09 28 2a 20 2a 29 | 0d 09 09 45 4d 5f 43 75 |...(* *)|...EM_Cu|
|00000130| 74 20 3d 20 33 3b 0d 09 | 09 45 4d 5f 43 6f 70 79 |t = 3;..|.EM_Copy|
|00000140| 20 3d 20 34 3b 0d 09 09 | 45 4d 5f 50 61 73 74 65 | = 4;...|EM_Paste|
|00000150| 20 3d 20 35 3b 0d 09 09 | 45 4d 5f 43 6c 65 61 72 | = 5;...|EM_Clear|
|00000160| 20 3d 20 36 3b 0d 09 09 | 45 4d 5f 53 65 6c 65 63 | = 6;...|EM_Selec|
|00000170| 74 41 6c 6c 20 3d 20 37 | 3b 0d 0d 09 63 6f 6e 73 |tAll = 7|;...cons|
|00000180| 74 0d 09 09 46 4d 5f 4e | 65 77 20 3d 20 31 3b 0d |t...FM_N|ew = 1;.|
|00000190| 09 09 46 4d 5f 4f 70 65 | 6e 20 3d 20 32 3b 0d 09 |..FM_Ope|n = 2;..|
|000001a0| 09 46 4d 5f 4f 70 65 6e | 49 6e 74 65 72 6e 65 74 |.FM_Open|Internet|
|000001b0| 50 72 65 66 65 72 65 6e | 63 65 73 20 3d 20 33 3b |Preferen|ces = 3;|
|000001c0| 0d 09 09 28 2a 20 2a 29 | 0d 09 09 46 4d 5f 43 6c |...(* *)|...FM_Cl|
|000001d0| 6f 73 65 20 3d 20 35 3b | 0d 09 09 46 4d 5f 53 61 |ose = 5;|...FM_Sa|
|000001e0| 76 65 20 3d 20 36 3b 0d | 09 09 46 4d 5f 53 61 76 |ve = 6;.|..FM_Sav|
|000001f0| 65 41 73 20 3d 20 37 3b | 0d 09 09 28 2a 20 2a 29 |eAs = 7;|...(* *)|
|00000200| 0d 09 09 46 4d 5f 51 75 | 69 74 20 3d 20 39 3b 0d |...FM_Qu|it = 9;.|
|00000210| 0d 09 63 6f 6e 73 74 0d | 09 09 49 4d 5f 49 6e 73 |..const.|..IM_Ins|
|00000220| 74 61 6c 6c 20 3d 20 31 | 3b 0d 09 09 49 4d 5f 53 |tall = 1|;...IM_S|
|00000230| 61 76 65 20 3d 20 32 3b | 0d 09 09 49 4d 5f 52 65 |ave = 2;|...IM_Re|
|00000240| 6d 6f 76 65 20 3d 20 33 | 3b 0d 0d 09 63 6f 6e 73 |move = 3|;...cons|
|00000250| 74 09 09 09 09 09 09 09 | 09 09 7b 20 4f 74 68 65 |t.......|..{ Othe|
|00000260| 72 20 4f 53 20 63 6f 6e | 73 74 61 6e 74 73 2c 20 |r OS con|stants, |
|00000270| 70 72 6f 62 61 62 6c 79 | 20 64 65 63 6c 61 72 65 |probably| declare|
|00000280| 64 20 73 6f 6d 65 77 68 | 65 72 65 20 6e 6f 77 20 |d somewh|ere now |
|00000290| 7d 0d 09 09 6b 53 79 73 | 45 6e 76 69 72 6f 6e 73 |}...kSys|Environs|
|000002a0| 56 65 72 73 69 6f 6e 20 | 3d 20 31 3b 0d 09 09 6b |Version |= 1;...k|
|000002b0| 4f 53 45 76 65 6e 74 20 | 3d 20 6f 73 45 76 74 3b |OSEvent |= osEvt;|
|000002c0| 09 09 09 09 7b 65 76 65 | 6e 74 20 75 73 65 64 20 |....{eve|nt used |
|000002d0| 62 79 20 4d 75 6c 74 69 | 46 69 6e 64 65 72 7d 0d |by Multi|Finder}.|
|000002e0| 09 09 6b 53 75 73 70 65 | 6e 64 52 65 73 75 6d 65 |..kSuspe|ndResume|
|000002f0| 4d 65 73 73 61 67 65 20 | 3d 20 31 3b 09 7b 68 69 |Message |= 1;.{hi|
|00000300| 67 68 20 62 79 74 65 20 | 6f 66 20 73 75 73 70 65 |gh byte |of suspe|
|00000310| 6e 64 2f 72 65 73 75 6d | 65 20 65 76 65 6e 74 20 |nd/resum|e event |
|00000320| 6d 65 73 73 61 67 65 7d | 0d 09 09 6b 52 65 73 75 |message}|...kResu|
|00000330| 6d 65 4d 61 73 6b 20 3d | 20 31 3b 09 09 09 09 09 |meMask =| 1;.....|
|00000340| 7b 62 69 74 20 6f 66 20 | 6d 65 73 73 61 67 65 20 |{bit of |message |
|00000350| 66 69 65 6c 64 20 66 6f | 72 20 72 65 73 75 6d 65 |field fo|r resume|
|00000360| 20 76 73 2e 20 73 75 73 | 70 65 6e 64 7d 0d 09 09 | vs. sus|pend}...|
|00000370| 6b 4d 6f 75 73 65 4d 6f | 76 65 64 4d 65 73 73 61 |kMouseMo|vedMessa|
|00000380| 67 65 20 3d 20 24 46 41 | 3b 09 7b 68 69 67 68 20 |ge = $FA|;.{high |
|00000390| 62 79 74 65 20 6f 66 20 | 6d 6f 75 73 65 2d 6d 6f |byte of |mouse-mo|
|000003a0| 76 65 64 20 65 76 65 6e | 74 20 6d 65 73 73 61 67 |ved even|t messag|
|000003b0| 65 7d 0d 09 09 6b 4e 6f | 45 76 65 6e 74 73 20 3d |e}...kNo|Events =|
|000003c0| 20 30 3b 09 09 09 09 09 | 09 7b 6e 6f 20 65 76 65 | 0;.....|.{no eve|
|000003d0| 6e 74 73 20 6d 61 73 6b | 7d 0d 0d 09 76 61 72 20 |nts mask|}...var |
|000003e0| 20 7b 20 73 65 74 20 75 | 70 20 62 79 20 49 6e 69 | { set u|p by Ini|
|000003f0| 74 53 79 73 74 65 6d 47 | 6c 6f 62 61 6c 73 20 7d |tSystemG|lobals }|
|00000400| 0d 09 09 73 79 73 74 65 | 6d 37 3a 20 62 6f 6f 6c |...syste|m7: bool|
|00000410| 65 61 6e 3b 0d 09 09 68 | 61 73 5f 61 70 70 6c 65 |ean;...h|as_apple|
|00000420| 45 76 65 6e 74 73 3a 20 | 62 6f 6f 6c 65 61 6e 3b |Events: |boolean;|
|00000430| 0d 09 09 68 61 73 5f 66 | 69 6e 64 66 6f 6c 64 65 |...has_f|indfolde|
|00000440| 72 3a 20 62 6f 6f 6c 65 | 61 6e 3b 0d 09 09 68 61 |r: boole|an;...ha|
|00000450| 73 5f 61 6c 69 61 73 4d | 67 72 3a 20 62 6f 6f 6c |s_aliasM|gr: bool|
|00000460| 65 61 6e 3b 0d 09 09 68 | 61 73 5f 6e 65 77 53 74 |ean;...h|as_newSt|
|00000470| 64 46 69 6c 65 3a 20 62 | 6f 6f 6c 65 61 6e 3b 0d |dFile: b|oolean;.|
|00000480| 09 09 68 61 73 5f 48 65 | 6c 70 4d 67 72 3a 20 62 |..has_He|lpMgr: b|
|00000490| 6f 6f 6c 65 61 6e 3b 0d | 09 09 68 61 73 5f 63 6f |oolean;.|..has_co|
|000004a0| 6c 6f 72 51 44 3a 20 62 | 6f 6f 6c 65 61 6e 3b 0d |lorQD: b|oolean;.|
|000004b0| 09 09 68 61 73 5f 63 6f | 6d 70 6f 6e 65 6e 74 73 |..has_co|mponents|
|000004c0| 3a 20 62 6f 6f 6c 65 61 | 6e 3b 0d 09 09 61 70 70 |: boolea|n;...app|
|000004d0| 5f 72 65 73 66 69 6c 65 | 3a 20 69 6e 74 65 67 65 |_resfile|: intege|
|000004e0| 72 3b 0d 09 09 61 70 70 | 5f 66 73 3a 20 46 53 53 |r;...app|_fs: FSS|
|000004f0| 70 65 63 3b 0d 09 09 69 | 6e 5f 66 6f 72 65 67 72 |pec;...i|n_foregr|
|00000500| 6f 75 6e 64 3a 20 62 6f | 6f 6c 65 61 6e 3b 0d 09 |ound: bo|olean;..|
|00000510| 09 71 75 69 74 4e 6f 77 | 3a 20 62 6f 6f 6c 65 61 |.quitNow|: boolea|
|00000520| 6e 3b 0d 09 09 61 70 70 | 5f 76 65 72 73 69 6f 6e |n;...app|_version|
|00000530| 3a 20 56 65 72 73 52 65 | 63 3b 0d 0d 09 70 72 6f |: VersRe|c;...pro|
|00000540| 63 65 64 75 72 65 20 49 | 6e 69 74 47 6c 6f 62 61 |cedure I|nitGloba|
|00000550| 6c 73 3b 0d 0d 09 66 75 | 6e 63 74 69 6f 6e 20 49 |ls;...fu|nction I|
|00000560| 6e 46 6f 72 65 67 72 6f | 75 6e 64 3a 20 62 6f 6f |nForegro|und: boo|
|00000570| 6c 65 61 6e 3b 0d 0d 09 | 74 79 70 65 0d 09 09 69 |lean;...|type...i|
|00000580| 63 41 63 74 69 6f 6e 20 | 3d 20 28 61 63 44 6f 54 |cAction |= (acDoT|
|00000590| 68 69 73 2c 20 61 63 49 | 6e 73 74 61 6c 6c 43 6f |his, acI|nstallCo|
|000005a0| 6d 70 6f 6e 65 6e 74 2c | 20 61 63 4f 70 65 6e 57 |mponent,| acOpenW|
|000005b0| 69 6e 64 6f 77 2c 20 61 | 63 4e 65 77 44 6f 63 75 |indow, a|cNewDocu|
|000005c0| 6d 65 6e 74 2c 20 61 63 | 4f 70 65 6e 44 6f 63 75 |ment, ac|OpenDocu|
|000005d0| 6d 65 6e 74 2c 20 61 63 | 43 6c 6f 73 65 57 69 6e |ment, ac|CloseWin|
|000005e0| 64 6f 77 2c 20 61 63 53 | 61 76 65 2c 20 7b 7d 0d |dow, acS|ave, {}.|
|000005f0| 09 09 09 61 63 51 75 69 | 74 2c 20 61 63 53 74 61 |...acQui|t, acSta|
|00000600| 72 74 41 70 70 6c 69 63 | 61 74 69 6f 6e 2c 20 61 |rtApplic|ation, a|
|00000610| 63 47 65 74 45 78 61 6d | 70 6c 65 2c 20 61 63 43 |cGetExam|ple, acC|
|00000620| 68 6f 6f 73 65 41 70 70 | 6c 69 63 61 74 69 6f 6e |hooseApp|lication|
|00000630| 2c 20 61 63 52 65 6d 6f | 76 65 43 6f 6d 70 6f 6e |, acRemo|veCompon|
|00000640| 65 6e 74 2c 20 61 63 53 | 65 74 44 65 66 61 75 6c |ent, acS|etDefaul|
|00000650| 74 73 2c 20 61 63 53 6f | 72 74 29 3b 0d 0d 09 70 |ts, acSo|rt);...p|
|00000660| 72 6f 63 65 64 75 72 65 | 20 44 69 73 70 6c 61 79 |rocedure| Display|
|00000670| 45 72 72 6f 72 20 28 61 | 63 74 69 6f 6e 3a 20 69 |Error (a|ction: i|
|00000680| 63 41 63 74 69 6f 6e 3b | 20 65 72 72 3a 20 4f 53 |cAction;| err: OS|
|00000690| 45 72 72 29 3b 0d 0d 69 | 6d 70 6c 65 6d 65 6e 74 |Err);..i|mplement|
|000006a0| 61 74 69 6f 6e 0d 0d 09 | 75 73 65 73 0d 09 09 45 |ation...|uses...E|
|000006b0| 72 72 6f 72 73 2c 20 50 | 72 6f 63 65 73 73 65 73 |rrors, P|rocesses|
|000006c0| 2c 20 43 6f 6d 70 6f 6e | 65 6e 74 73 2c 20 47 65 |, Compon|ents, Ge|
|000006d0| 73 74 61 6c 74 45 71 75 | 2c 20 52 65 73 6f 75 72 |staltEqu|, Resour|
|000006e0| 63 65 73 2c 20 54 6f 6f | 6c 55 74 69 6c 73 2c 20 |ces, Too|lUtils, |
|000006f0| 44 69 61 6c 6f 67 73 2c | 20 49 43 4d 69 73 63 53 |Dialogs,| ICMiscS|
|00000700| 75 62 73 3b 0d 0d 09 70 | 72 6f 63 65 64 75 72 65 |ubs;...p|rocedure|
|00000710| 20 49 6e 69 74 47 6c 6f | 62 61 6c 73 3b 0d 09 09 | InitGlo|bals;...|
|00000720| 76 61 72 0d 09 09 09 6f | 65 3a 20 4f 53 45 72 72 |var....o|e: OSErr|
|00000730| 3b 0d 09 09 09 67 76 3a | 20 6c 6f 6e 67 49 6e 74 |;....gv:| longInt|
|00000740| 3b 0d 09 09 09 70 62 3a | 20 46 43 42 50 42 52 65 |;....pb:| FCBPBRe|
|00000750| 63 3b 0d 09 09 09 73 79 | 73 65 6e 76 3a 20 73 79 |c;....sy|senv: sy|
|00000760| 73 45 6e 76 52 65 63 3b | 0d 09 09 09 76 65 72 73 |sEnvRec;|....vers|
|00000770| 68 3a 20 56 65 72 73 52 | 65 63 48 6e 64 6c 3b 0d |h: VersR|ecHndl;.|
|00000780| 09 62 65 67 69 6e 0d 09 | 09 61 70 70 5f 72 65 73 |.begin..|.app_res|
|00000790| 66 69 6c 65 20 3a 3d 20 | 43 75 72 52 65 73 46 69 |file := |CurResFi|
|000007a0| 6c 65 3b 0d 09 09 70 62 | 2e 69 6f 4e 61 6d 65 50 |le;...pb|.ioNameP|
|000007b0| 74 72 20 3a 3d 20 40 61 | 70 70 5f 66 73 2e 6e 61 |tr := @a|pp_fs.na|
|000007c0| 6d 65 3b 0d 09 09 70 62 | 2e 69 6f 56 52 65 66 4e |me;...pb|.ioVRefN|
|000007d0| 75 6d 20 3a 3d 20 30 3b | 0d 09 09 70 62 2e 69 6f |um := 0;|...pb.io|
|000007e0| 52 65 66 4e 75 6d 20 3a | 3d 20 61 70 70 5f 72 65 |RefNum :|= app_re|
|000007f0| 73 66 69 6c 65 3b 0d 09 | 09 70 62 2e 69 6f 46 43 |sfile;..|.pb.ioFC|
|00000800| 42 49 6e 64 78 20 3a 3d | 20 30 3b 0d 09 09 6f 65 |BIndx :=| 0;...oe|
|00000810| 20 3a 3d 20 50 42 47 65 | 74 46 43 42 49 6e 66 6f | := PBGe|tFCBInfo|
|00000820| 53 79 6e 63 28 40 70 62 | 29 3b 0d 09 09 61 70 70 |Sync(@pb|);...app|
|00000830| 5f 66 73 2e 76 52 65 66 | 4e 75 6d 20 3a 3d 20 70 |_fs.vRef|Num := p|
|00000840| 62 2e 69 6f 46 43 42 56 | 52 65 66 4e 75 6d 3b 0d |b.ioFCBV|RefNum;.|
|00000850| 09 09 61 70 70 5f 66 73 | 2e 70 61 72 49 44 20 3a |..app_fs|.parID :|
|00000860| 3d 20 70 62 2e 69 6f 46 | 43 42 50 61 72 49 44 3b |= pb.ioF|CBParID;|
|00000870| 0d 09 09 68 61 73 5f 63 | 6f 6c 6f 72 71 64 20 3a |...has_c|olorqd :|
|00000880| 3d 20 28 53 79 73 45 6e | 76 69 72 6f 6e 73 28 31 |= (SysEn|virons(1|
|00000890| 2c 20 73 79 73 45 6e 76 | 29 20 3d 20 6e 6f 45 72 |, sysEnv|) = noEr|
|000008a0| 72 29 20 26 20 73 79 73 | 65 6e 76 2e 68 61 73 43 |r) & sys|env.hasC|
|000008b0| 6f 6c 6f 72 51 44 3b 20 | 7b 20 47 65 73 74 61 6c |olorQD; |{ Gestal|
|000008c0| 74 20 68 61 73 20 61 20 | 62 75 67 20 74 68 61 74 |t has a |bug that|
|000008d0| 20 63 61 75 73 65 73 20 | 68 61 73 43 6f 6c 6f 75 | causes |hasColou|
|000008e0| 72 51 44 20 74 6f 20 61 | 6c 77 61 79 73 20 62 65 |rQD to a|lways be|
|000008f0| 20 73 65 74 20 7d 0d 09 | 09 73 79 73 74 65 6d 37 | set }..|.system7|
|00000900| 20 3a 3d 20 28 47 65 73 | 74 61 6c 74 28 67 65 73 | := (Ges|talt(ges|
|00000910| 74 61 6c 74 53 79 73 74 | 65 6d 56 65 72 73 69 6f |taltSyst|emVersio|
|00000920| 6e 2c 20 67 76 29 20 3d | 20 6e 6f 45 72 72 29 20 |n, gv) =| noErr) |
|00000930| 26 20 28 67 76 20 3e 3d | 20 24 30 37 30 30 29 3b |& (gv >=| $0700);|
|00000940| 0d 09 09 68 61 73 5f 41 | 70 70 6c 65 45 76 65 6e |...has_A|ppleEven|
|00000950| 74 73 20 3a 3d 20 28 47 | 65 73 74 61 6c 74 28 67 |ts := (G|estalt(g|
|00000960| 65 73 74 61 6c 74 41 70 | 70 6c 65 45 76 65 6e 74 |estaltAp|pleEvent|
|00000970| 73 41 74 74 72 2c 20 67 | 76 29 20 3d 20 6e 6f 45 |sAttr, g|v) = noE|
|00000980| 72 72 29 20 26 20 28 54 | 50 62 74 73 74 28 67 76 |rr) & (T|Pbtst(gv|
|00000990| 2c 20 67 65 73 74 61 6c | 74 41 70 70 6c 65 45 76 |, gestal|tAppleEv|
|000009a0| 65 6e 74 73 50 72 65 73 | 65 6e 74 29 29 3b 0d 09 |entsPres|ent));..|
|000009b0| 09 68 61 73 5f 66 69 6e | 64 66 6f 6c 64 65 72 20 |.has_fin|dfolder |
|000009c0| 3a 3d 20 28 47 65 73 74 | 61 6c 74 28 67 65 73 74 |:= (Gest|alt(gest|
|000009d0| 61 6c 74 46 69 6e 64 46 | 6f 6c 64 65 72 41 74 74 |altFindF|olderAtt|
|000009e0| 72 2c 20 67 76 29 20 3d | 20 6e 6f 45 72 72 29 20 |r, gv) =| noErr) |
|000009f0| 26 20 28 54 50 62 74 73 | 74 28 67 76 2c 20 67 65 |& (TPbts|t(gv, ge|
|00000a00| 73 74 61 6c 74 46 69 6e | 64 46 6f 6c 64 65 72 50 |staltFin|dFolderP|
|00000a10| 72 65 73 65 6e 74 29 29 | 3b 0d 09 09 68 61 73 5f |resent))|;...has_|
|00000a20| 6e 65 77 53 74 64 46 69 | 6c 65 20 3a 3d 20 28 47 |newStdFi|le := (G|
|00000a30| 65 73 74 61 6c 74 28 67 | 65 73 74 61 6c 74 53 74 |estalt(g|estaltSt|
|00000a40| 61 6e 64 61 72 64 46 69 | 6c 65 41 74 74 72 2c 20 |andardFi|leAttr, |
|00000a50| 67 76 29 20 3d 20 6e 6f | 45 72 72 29 20 26 20 28 |gv) = no|Err) & (|
|00000a60| 54 50 62 74 73 74 28 67 | 76 2c 20 67 65 73 74 61 |TPbtst(g|v, gesta|
|00000a70| 6c 74 53 74 61 6e 64 61 | 72 64 46 69 6c 65 35 38 |ltStanda|rdFile58|
|00000a80| 29 29 3b 0d 09 09 68 61 | 73 5f 48 65 6c 70 4d 67 |));...ha|s_HelpMg|
|00000a90| 72 20 3a 3d 20 28 47 65 | 73 74 61 6c 74 28 67 65 |r := (Ge|stalt(ge|
|00000aa0| 73 74 61 6c 74 48 65 6c | 70 4d 67 72 41 74 74 72 |staltHel|pMgrAttr|
|00000ab0| 2c 20 67 76 29 20 3d 20 | 6e 6f 45 72 72 29 20 26 |, gv) = |noErr) &|
|00000ac0| 20 28 54 50 62 74 73 74 | 28 67 76 2c 20 67 65 73 | (TPbtst|(gv, ges|
|00000ad0| 74 61 6c 74 48 65 6c 70 | 4d 67 72 50 72 65 73 65 |taltHelp|MgrPrese|
|00000ae0| 6e 74 29 29 3b 0d 09 09 | 68 61 73 5f 61 6c 69 61 |nt));...|has_alia|
|00000af0| 73 4d 67 72 20 3a 3d 20 | 28 47 65 73 74 61 6c 74 |sMgr := |(Gestalt|
|00000b00| 28 67 65 73 74 61 6c 74 | 41 6c 69 61 73 4d 67 72 |(gestalt|AliasMgr|
|00000b10| 41 74 74 72 2c 20 67 76 | 29 20 3d 20 6e 6f 45 72 |Attr, gv|) = noEr|
|00000b20| 72 29 20 26 20 28 54 50 | 62 74 73 74 28 67 76 2c |r) & (TP|btst(gv,|
|00000b30| 20 67 65 73 74 61 6c 74 | 41 6c 69 61 73 4d 67 72 | gestalt|AliasMgr|
|00000b40| 50 72 65 73 65 6e 74 29 | 29 3b 0d 09 09 68 61 73 |Present)|);...has|
|00000b50| 5f 63 6f 6d 70 6f 6e 65 | 6e 74 73 20 3a 3d 20 28 |_compone|nts := (|
|00000b60| 47 65 73 74 61 6c 74 28 | 67 65 73 74 61 6c 74 43 |Gestalt(|gestaltC|
|00000b70| 6f 6d 70 6f 6e 65 6e 74 | 4d 67 72 2c 20 67 76 29 |omponent|Mgr, gv)|
|00000b80| 20 3d 20 6e 6f 45 72 72 | 29 20 26 20 28 67 76 20 | = noErr|) & (gv |
|00000b90| 3e 20 30 29 3b 0d 09 09 | 76 65 72 73 68 20 3a 3d |> 0);...|versh :=|
|00000ba0| 20 56 65 72 73 52 65 63 | 48 6e 64 6c 28 47 65 74 | VersRec|Hndl(Get|
|00000bb0| 31 52 65 73 6f 75 72 63 | 65 28 27 76 65 72 73 27 |1Resourc|e('vers'|
|00000bc0| 2c 20 31 29 29 3b 0d 09 | 09 69 66 20 76 65 72 73 |, 1));..|.if vers|
|00000bd0| 68 20 3c 3e 20 6e 69 6c | 20 74 68 65 6e 20 62 65 |h <> nil| then be|
|00000be0| 67 69 6e 0d 09 09 09 61 | 70 70 5f 76 65 72 73 69 |gin....a|pp_versi|
|00000bf0| 6f 6e 20 3a 3d 20 76 65 | 72 73 68 5e 5e 3b 0d 09 |on := ve|rsh^^;..|
|00000c00| 09 65 6e 64 20 65 6c 73 | 65 20 62 65 67 69 6e 0d |.end els|e begin.|
|00000c10| 09 09 09 6c 6f 6e 67 49 | 6e 74 28 61 70 70 5f 76 |...longI|nt(app_v|
|00000c20| 65 72 73 69 6f 6e 2e 6e | 75 6d 65 72 69 63 56 65 |ersion.n|umericVe|
|00000c30| 72 73 69 6f 6e 29 20 3a | 3d 20 30 3b 0d 09 09 09 |rsion) :|= 0;....|
|00000c40| 61 70 70 5f 76 65 72 73 | 69 6f 6e 2e 63 6f 75 6e |app_vers|ion.coun|
|00000c50| 74 72 79 43 6f 64 65 20 | 3a 3d 20 30 3b 0d 09 09 |tryCode |:= 0;...|
|00000c60| 09 61 70 70 5f 76 65 72 | 73 69 6f 6e 2e 73 68 6f |.app_ver|sion.sho|
|00000c70| 72 74 56 65 72 73 69 6f | 6e 20 3a 3d 20 27 27 3b |rtVersio|n := '';|
|00000c80| 0d 09 09 65 6e 64 3b 20 | 28 2a 20 69 66 20 2a 29 |...end; |(* if *)|
|00000c90| 0d 09 65 6e 64 3b 0d 0d | 09 66 75 6e 63 74 69 6f |..end;..|.functio|
|00000ca0| 6e 20 49 6e 46 6f 72 65 | 67 72 6f 75 6e 64 3a 20 |n InFore|ground: |
|00000cb0| 62 6f 6f 6c 65 61 6e 3b | 0d 09 09 76 61 72 0d 09 |boolean;|...var..|
|00000cc0| 09 09 67 76 3a 20 6c 6f | 6e 67 49 6e 74 3b 0d 09 |..gv: lo|ngInt;..|
|00000cd0| 09 09 6f 75 72 70 73 6e | 2c 20 66 72 6f 6e 74 70 |..ourpsn|, frontp|
|00000ce0| 73 6e 3a 20 50 72 6f 63 | 65 73 73 53 65 72 69 61 |sn: Proc|essSeria|
|00000cf0| 6c 4e 75 6d 62 65 72 3b | 0d 09 09 09 66 72 6f 6e |lNumber;|....fron|
|00000d00| 74 3a 20 62 6f 6f 6c 65 | 61 6e 3b 0d 09 62 65 67 |t: boole|an;..beg|
|00000d10| 69 6e 0d 09 09 69 66 20 | 28 47 65 73 74 61 6c 74 |in...if |(Gestalt|
|00000d20| 28 67 65 73 74 61 6c 74 | 4f 53 41 74 74 72 2c 20 |(gestalt|OSAttr, |
|00000d30| 67 76 29 20 3d 20 6e 6f | 45 72 72 29 20 26 20 28 |gv) = no|Err) & (|
|00000d40| 54 50 62 74 73 74 28 67 | 76 2c 20 67 65 73 74 61 |TPbtst(g|v, gesta|
|00000d50| 6c 74 4c 61 75 6e 63 68 | 43 6f 6e 74 72 6f 6c 29 |ltLaunch|Control)|
|00000d60| 29 20 74 68 65 6e 20 62 | 65 67 69 6e 0d 09 09 09 |) then b|egin....|
|00000d70| 69 66 20 28 47 65 74 43 | 75 72 72 65 6e 74 50 72 |if (GetC|urrentPr|
|00000d80| 6f 63 65 73 73 28 6f 75 | 72 70 73 6e 29 20 3d 20 |ocess(ou|rpsn) = |
|00000d90| 6e 6f 45 72 72 29 20 26 | 20 28 47 65 74 46 72 6f |noErr) &| (GetFro|
|00000da0| 6e 74 50 72 6f 63 65 73 | 73 28 66 72 6f 6e 74 70 |ntProces|s(frontp|
|00000db0| 73 6e 29 20 3d 20 6e 6f | 45 72 72 29 20 74 68 65 |sn) = no|Err) the|
|00000dc0| 6e 20 62 65 67 69 6e 0d | 09 09 09 09 69 66 20 53 |n begin.|....if S|
|00000dd0| 61 6d 65 50 72 6f 63 65 | 73 73 28 6f 75 72 70 73 |ameProce|ss(ourps|
|00000de0| 6e 2c 20 66 72 6f 6e 74 | 70 73 6e 2c 20 66 72 6f |n, front|psn, fro|
|00000df0| 6e 74 29 20 3d 20 6e 6f | 45 72 72 20 74 68 65 6e |nt) = no|Err then|
|00000e00| 0d 09 09 09 09 09 69 6e | 5f 66 6f 72 65 67 72 6f |......in|_foregro|
|00000e10| 75 6e 64 20 3a 3d 20 66 | 72 6f 6e 74 3b 0d 09 09 |und := f|ront;...|
|00000e20| 09 65 6e 64 3b 0d 09 09 | 65 6e 64 3b 0d 09 09 49 |.end;...|end;...I|
|00000e30| 6e 46 6f 72 65 67 72 6f | 75 6e 64 20 3a 3d 20 69 |nForegro|und := i|
|00000e40| 6e 5f 66 6f 72 65 67 72 | 6f 75 6e 64 3b 0d 09 65 |n_foregr|ound;..e|
|00000e50| 6e 64 3b 0d 0d 09 70 72 | 6f 63 65 64 75 72 65 20 |nd;...pr|ocedure |
|00000e60| 44 69 73 70 6c 61 79 45 | 72 72 6f 72 20 28 61 63 |DisplayE|rror (ac|
|00000e70| 74 69 6f 6e 3a 20 69 63 | 41 63 74 69 6f 6e 3b 20 |tion: ic|Action; |
|00000e80| 65 72 72 3a 20 4f 53 45 | 72 72 29 3b 0d 09 09 76 |err: OSE|rr);...v|
|00000e90| 61 72 0d 09 09 09 6a 75 | 6e 6b 3a 20 69 6e 74 65 |ar....ju|nk: inte|
|00000ea0| 67 65 72 3b 0d 09 09 09 | 61 63 74 69 6f 6e 5f 73 |ger;....|action_s|
|00000eb0| 74 72 2c 20 65 72 72 5f | 6d 65 73 73 61 67 65 2c |tr, err_|message,|
|00000ec0| 20 65 72 72 5f 6e 75 6d | 3a 20 53 74 72 32 35 35 | err_num|: Str255|
|00000ed0| 3b 0d 09 62 65 67 69 6e | 0d 09 09 69 66 20 28 65 |;..begin|...if (e|
|00000ee0| 72 72 20 3c 3e 20 6e 6f | 45 72 72 29 20 61 6e 64 |rr <> no|Err) and|
|00000ef0| 20 28 65 72 72 20 3c 3e | 20 75 73 65 72 43 61 6e | (err <>| userCan|
|00000f00| 63 65 6c 65 64 45 72 72 | 29 20 74 68 65 6e 20 62 |celedErr|) then b|
|00000f10| 65 67 69 6e 0d 09 09 09 | 49 6e 69 74 43 75 72 73 |egin....|InitCurs|
|00000f20| 6f 72 3b 0d 09 09 09 47 | 65 74 49 6e 64 53 74 72 |or;....G|etIndStr|
|00000f30| 69 6e 67 28 61 63 74 69 | 6f 6e 5f 73 74 72 2c 20 |ing(acti|on_str, |
|00000f40| 31 33 31 2c 20 6f 72 64 | 28 61 63 74 69 6f 6e 29 |131, ord|(action)|
|00000f50| 20 2b 20 31 29 3b 0d 09 | 09 09 65 72 72 5f 6d 65 | + 1);..|..err_me|
|00000f60| 73 73 61 67 65 20 3a 3d | 20 4e 65 77 4c 6f 6f 6b |ssage :=| NewLook|
|00000f70| 75 70 45 72 72 6f 72 28 | 31 32 38 2c 20 65 72 72 |upError(|128, err|
|00000f80| 29 3b 0d 09 09 09 4e 75 | 6d 54 6f 53 74 72 69 6e |);....Nu|mToStrin|
|00000f90| 67 28 65 72 72 2c 65 72 | 72 5f 6e 75 6d 29 3b 0d |g(err,er|r_num);.|
|00000fa0| 09 09 09 50 61 72 61 6d | 54 65 78 74 28 61 63 74 |...Param|Text(act|
|00000fb0| 69 6f 6e 5f 73 74 72 2c | 20 65 72 72 5f 6d 65 73 |ion_str,| err_mes|
|00000fc0| 73 61 67 65 2c 20 65 72 | 72 5f 6e 75 6d 2c 20 27 |sage, er|r_num, '|
|00000fd0| 27 29 3b 0d 09 09 09 6a | 75 6e 6b 20 3a 3d 20 53 |');....j|unk := S|
|00000fe0| 74 6f 70 41 6c 65 72 74 | 28 31 34 30 2c 20 6e 69 |topAlert|(140, ni|
|00000ff0| 6c 29 3b 0d 09 09 65 6e | 64 3b 20 28 2a 20 69 66 |l);...en|d; (* if|
|00001000| 20 2a 29 0d 09 65 6e 64 | 3b 20 28 2a 20 44 69 73 | *)..end|; (* Dis|
|00001010| 70 6c 61 79 45 72 72 6f | 72 20 2a 29 0d 0d 65 6e |playErro|r *)..en|
|00001020| 64 2e 20 28 2a 20 49 43 | 47 6c 6f 62 61 6c 73 20 |d. (* IC|Globals |
|00001030| 2a 29 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |*)......|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00001090| 00 00 00 8f 50 27 00 00 | 00 90 00 01 00 28 00 00 |....P'..|.....(..|
|000010a0| 00 02 00 08 30 26 00 00 | 00 a8 70 29 00 01 00 26 |....0&..|..p)...&|
|000010b0| 0b 49 43 47 6c 6f 62 61 | 6c 73 2e 70 02 00 00 00 |.ICGloba|ls.p....|
|000010c0| 54 45 58 54 43 57 49 45 | 00 00 00 68 01 00 00 00 |TEXTCWIE|...h....|
|000010d0| 00 00 54 45 58 54 43 57 | 49 45 00 00 00 68 01 00 |..TEXTCW|IE...h..|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 aa 7b 06 f2 00 00 | 0f b2 00 00 01 9a 00 07 |...{....|........|
|00001100| 40 33 00 00 00 20 00 01 | 00 34 00 00 00 06 00 00 |@3... ..|.4......|
|00001110| 30 32 00 00 00 7a 70 35 | 00 01 00 32 30 36 00 00 |02...zp5|...206..|
|00001120| 00 34 70 37 00 01 00 36 | 30 38 00 00 00 24 70 39 |.4p7...6|08...$p9|
|00001130| 00 01 00 38 30 3a 00 00 | 00 34 70 3b 00 01 00 3a |...80:..|.4p;...:|
|00001140| 30 3c 00 00 00 34 70 3d | 00 01 00 3c 30 3e 00 00 |0<...4p=|...<0>..|
|00001150| 00 3a 70 3f 00 01 00 3e | 30 40 00 00 00 44 70 41 |.:p?...>|0@...DpA|
|00001160| 00 01 00 40 30 42 00 00 | 00 4c 70 43 00 01 00 42 |...@0B..|.LpC...B|
|00001170| 10 46 00 00 00 01 00 00 | 00 00 00 00 00 07 40 45 |.F......|......@E|
|00001180| 00 00 00 48 00 09 47 65 | 6e 65 76 61 00 00 00 00 |...H..Ge|neva....|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 03 | 00 02 00 52 00 09 01 d0 |........|...R....|
|000011b0| 02 68 00 52 00 09 01 d0 | 02 68 ae 16 b1 37 00 00 |.h.R....|.h...7..|
|000011c0| 0f 02 00 00 0f 02 00 00 | 0c 4f 01 00 00 00 00 04 |........|.O......|
|000011d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000011e0| 00 00 00 46 00 5c be d4 | 13 d6 00 00 00 1c 00 46 |...F.\..|.......F|
|000011f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00001200| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00001210| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+